From c9d5f6be49a89fad5a778c0342a27fc3452d863d Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 10 Jan 2022 12:36:12 +0100 Subject: refactor(aside): move width from aside to sharing widget Only the Sharing widget needs the "min-content" width. --- src/pages/article/[slug].tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/pages/article/[slug].tsx') diff --git a/src/pages/article/[slug].tsx b/src/pages/article/[slug].tsx index 889af43..7d25843 100644 --- a/src/pages/article/[slug].tsx +++ b/src/pages/article/[slug].tsx @@ -3,10 +3,8 @@ import CommentsList from '@components/CommentsList/CommentsList'; import { getLayout } from '@components/Layouts/Layout'; import PostFooter from '@components/PostFooter/PostFooter'; import PostHeader from '@components/PostHeader/PostHeader'; -import Sharing from '@components/Sharing/Sharing'; import ToC from '@components/ToC/ToC'; import { config } from '@config/website'; -import { t } from '@lingui/macro'; import { getAllPostsSlug, getPostBySlug } from '@services/graphql/queries'; import { NextPageWithLayout } from '@ts/types/app'; import { ArticleMeta, ArticleProps } from '@ts/types/articles'; @@ -19,6 +17,7 @@ import Prism from 'prismjs'; import { ParsedUrlQuery } from 'querystring'; import { useEffect } from 'react'; import styles from '@styles/pages/Page.module.scss'; +import { Sharing } from '@components/Widget'; const SingleArticle: NextPageWithLayout = ({ post }) => { const { -- cgit v1.2.3